home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jazlib.arc
/
WSEARCH.C
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-12-18
|
327 b
|
18 lines
/* return a pointer to a window number or nil */
#include <jzscreen.h>
extern THEADER g_header;
TWINDOW *wsearch(fnum)
int fnum;
{
THEADER wptr;
wptr = g_header;
while (wptr.first)
if (wptr.first->number == (char) fnum) return(wptr.first);
else wptr.first = wptr.first->next;
return(0);
}